package com.haoniu.job.task;

import com.haoniu.common.core.web.page.TableDataInfo;
import com.haoniu.common.redis.service.RedisService;
import com.haoniu.system.api.RemoteDictService;
import com.haoniu.system.api.domain.SysDictType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Auther: 柴镨育
 * @Date: 2022/7/18 - 15:14
 * @Description: com.haoniu.system.task
 */
@Component("hnTask")
public class HnTask
{

    @Autowired
    private RemoteDictService remoteDictService;

    @Autowired
    private RedisService redisService;

    public void haoTask(){

        remoteDictService.get();

        System.err.println("成功!!!!!!!!!!!!!!!!!!!!");

    }

}
